import { toPara } from "@/utils/base";
import { getFileEntity, getFileUrl } from "@/utils/bus";

export const docType: string = "MgrUser";

export class MgrUserDataClass {

  /**
   * 编号
   */
  Id: number | string = "";

  /**
   * 版本号
   */
  UnionGuid: string = "";

  /**
   * 名称
   */
  Name: string = "";

  Phone: string = "13213869599";

  Sex: string = "";

  Profile: string = "";

  /**
  * _logo全链接
  */
  get _profile() {
    return getFileUrl(this.Profile)
  }
  set _profile(value: string) {
    this.Profile = getFileEntity(value);
  }

  constructor(para: any) {
    toPara(this, para)
  }
}